package com.xuanmiao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author shenJianKang
 * @date 2019/8/8 16:28
 */
@SpringBootApplication
//@ComponentScan({"com.panshi.hujin2.base","com.xuanmiao.*"})
@MapperScan({"com.xuanmiao.smsback.dao.mapper","com.panshi.hujin2.base.security.dao.mapper","com.panshi.hujin2.message.dao.mapper"})
@ComponentScan({"com.xuanmiao.*","com.panshi.hujin2.*"})
public class AppStarter extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(AppStarter.class, args);
    }
}
